package com.bjb.vr.common.dto;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 客户配置信息表
 * @TableName opt_cus_config
 */
@TableName(value ="opt_cus_config")
@Data
public class OptCusConfig implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 客户租户ID
     */
    @TableField(value = "tenant_id", fill = FieldFill.INSERT)
    private String tenantId;

    /**
     * 数据ID用于同步
     */
    @TableField(value = "data_id", fill = FieldFill.INSERT)
    private Long dataId;

    /**
     * 主题类型code数组
     */
    @TableField(value = "theme_codes")
    private String themeCodes;

    /**
     * 1:私有部署 2:公有云 3:混合云
     */
    @TableField(value = "deploy_mod")
    private Integer deployMod;

    /**
     * 前置服务器
     */
    @TableField(value = "pre_ser_ip")
    private String preSerIp;

    /**
     * 云服务器
     */
    @TableField(value = "cloud_ip")
    private String cloudIp;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private LocalDateTime gmtModified;

    /**
     * 推流监控地址
     */
    @TableField(value = "vr_mon_rtmp_url")
    private String vrMonRtmpUrl;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}